#region References
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Diagnostics;

using DevExpress.XtraEditors;
#endregion

namespace Autumoon.CodeLibrary.Forms
{
    public partial class PurchaseXtraForm : XtraForm
    {
        // Properties and fields.
        #region Properties and Fields
        #endregion

        // Constructors.
        #region Constructors
        /// <summary>
        /// Default constructor.
        /// </summary>
        public PurchaseXtraForm()
        {
            InitializeComponent();
        }
        #endregion

        // Public methods.
        #region Public Methods
        #endregion

        // Internal methods.
        #region Internal Methods
        #endregion

        // Protected methods.
        #region Protected Methods
        #endregion

        // Private methods.
        #region Private Methods
        #endregion

        // Delegates and events.
        #region Delegates and Events
        private void PurchaseXtraForm_Load(object sender, EventArgs e)
        {
            this.purchaseDescriptionMemoEdit.Text = global::Autumoon.CodeLibrary.Forms.Properties.Settings.Default.PurchaseDescription;
        }

        private void payPalSimpleButton_Click(object sender, EventArgs e)
        {
            Process.Start(global::Autumoon.CodeLibrary.Forms.Properties.Settings.Default.PayPalAddress);

            this.Close();
        }

        private void policySimpleButton_Click(object sender, EventArgs e)
        {
            Process.Start(global::Autumoon.CodeLibrary.Forms.Properties.Settings.Default.PurchasePolicyAddress);
        }

        private void cancelSimpleButton_Click(object sender, EventArgs e)
        {
            this.Close();
        }
        #endregion
    }
}